From: Keir Fraser Date: Fri, 5 Jun 2009 08:30:36 +0000 (+0100) Subject: xend: Convert the type of superpages to integer to fix a TypeError. X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~13791 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/success//%22http:/www.example.com/cgi/success/?a=commitdiff_plain;h=532f0ae513f971c18c47ae5f8f7c9c924acb6610;p=xen.git xend: Convert the type of superpages to integer to fix a TypeError. Signed-off-by: Masaki Kanno --- diff --git a/tools/python/xen/xend/image.py b/tools/python/xen/xend/image.py index 1ecd0a28a4..8364df30b7 100644 --- a/tools/python/xen/xend/image.py +++ b/tools/python/xen/xend/image.py @@ -665,7 +665,7 @@ class LinuxImageHandler(ImageHandler): ImageHandler.configure(self, vmConfig) self.vramsize = int(vmConfig['platform'].get('videoram',4)) * 1024 self.is_stubdom = (self.kernel.find('stubdom') >= 0) - self.superpages = vmConfig['superpages'] + self.superpages = int(vmConfig['superpages']) def buildDomain(self): store_evtchn = self.vm.getStorePort()